package pers.ijfxu.testngext.dataprovider;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;

/**
 * * 注解：标注连接sql数据库的相关属性
 * @author ijfxu5
 * @since 2021/4/26 - 14:25
 * @see org.testng.annotations.Test
 */
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
@Target({METHOD, TYPE, CONSTRUCTOR})
public @interface Sql {
    String group() default "";

    String table() default "";

    /*
     * 通过配置db.setting 获取
     */
    String url() default "";

    String user() default "";

    String passwd() default "";

    String driver() default "";
}